﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SurveyAutomation
{
    public partial class MainForm : SurveyBaseForm
    {
        public MainForm()
        {
            InitializeComponent();
        }

        private void takeASurveyToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var survey = new SurveyAutomation {MdiParent = this};
            survey.Show();
        }

        private void exitToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Dispose(true);
        }

        private void toolStripMenuItem1_Click(object sender, EventArgs e)
        {
            var langForm = new LanguageManager {MdiParent = this};
            langForm.Show();
        }

        private void elementManagerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var textAutoForm = new TextAutoManager() { MdiParent = this };
            textAutoForm.Show();
        }
    }
}
